package camid.services.nameservice;

import java.util.List;

import camid.distribution.protocol.Endpoint;

public interface INameService {

	String registerNode(Endpoint localEndpoint);

	Endpoint getNodeEndpoint(String nodeId);

	void registerObjectDefinition(String nodeId, String entityClassName);

	List<Endpoint> getObjectDefinitionEndpoints(String entityClassName);

	Boolean bind(String nodeId, String objectId, String entityClassName);

	Endpoint lookup(String objectId);

	Boolean unbind(String objectId);

	Boolean unregisterNode(String nodeId);

	List<String> getAllNodes();

}